﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FuzzScript
{
    class AntecedentSetClause : SetClause
    {
        internal AntecedentSetClause(string p_sVariableName, string p_sSetName)
            : base(p_sVariableName, p_sSetName)
        { }

        public override double Execute()
        {
            return ((IDOMValueNode)m_SiblingNodes[0]).DOMValue;
        }
    }
}
